@import "./common.scss";
@mixin icon-load-up {
    // 加载图标
    .icon-load {
        position: absolute;
        bottom: 120px;
        left: 50%;
        transform: translateX(-50%);
        width: 90px;
        height: 60px;
        text-align: center;
        .iconLoad {
            font-size: 50px;
            color: #ccc;
        }
        .loading {
            color: #ccc;
            font-size: 26px;
            margin-top: 30px;
        }
    }
    // 向上图标
    .icon-up {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 30px;
        background: red;
        text-align: center;
        .iconUp {
            font-size: 30px;
            color: #fff;
        }
    }
}

.bannerBox {
    position: relative;
    width: 100%;
    height: 587px;
    background: url(../images/ArtistImg/bj_Artist.png) no-repeat center bottom / 100%;
}

// 灰色区域
.greyCont {
    padding: 0 50px 250px;
    position: relative;
    margin: 0 auto;
    width: 1200px;
    // padding: 0 0 180px;
    // height: 1200px;
    background-color: #f3f3f3;
    @mixin boxShadow {
        box-shadow: 0 5px 10px 0 #ccc;
    }
    @mixin follow {
        position: absolute;
        width: 50px;
        height: 25px;
        line-height: 25px;
        border: 1px solid #000;
        text-align: center;
        font-size: 14px;
    }
    // 第一块，齐白石
    .QBS {
        width: 100%;
        height: 600px;
        margin: 0 auto;
        padding: 90px 0 0;
        border-bottom: 1px solid #888;
        .row-one {
            position: relative;
            width: 100%;
            height: 515px;
            .imgBox {
                position: absolute;
                top: 0;
                left: 0;
                background: #fff;
                width: 490px;
                border: 1px solid #000;
                .art-info {
                    padding: 10px;
                    p {
                        font-size: 12px;
                        font-weight: bold;
                        color: #999;
                        margin-bottom: 5px;
                    }
                    p:first-child {
                        margin-bottom: 20px;
                        margin-top: 10px;
                        font-size: 18px;
                        color: #666;
                    }
                }
                .follow {
                    bottom: 30px;
                    right: 80px;
                    @include follow;
                }
            }
            .whiteBox {
                position: absolute;
                top: 96px;
                padding: 70px 143px 105px;
                right: 5px;
                width: 414px;
                height: 150px;
                font-size: 20px;
                line-height: 40px;
                text-align: left;
                background-color: #fff;
                @include boxShadow;
            }
            .borBox {
                position: absolute;
                top: 35px;
                right: 65px;
                width: 705px;
                height: 420px;
                border: 2px solid red;
            }
        }
    }
    // 推荐画家
    .recommend {
        width: 100%;
        height: 540px;
        margin: 90px 0 50px;
        border-bottom: 1px solid #888;
        .recom-title {
            margin: 0 auto;
            width: 288px;
            height: 66px;
            line-height: 66px;
            text-align: center;
            font-size: 30px;
            color: red;
            border: 2px solid red;
        }
        .recItems {
            display: flex;
            justify-content: space-between;
            margin: 0 auto;
            margin-top: 70px;
            width: 1100px;
            height: 325px;
            // border: 1px solid green;
            .rec-item {
                position: relative;
                width: 210px;
                // background-color: #eee;
                .head {
                    position: relative;
                    margin: 30px auto;
                    width: 190px;
                    height: 190px;
                    // background-color: #fff;
                    .circle-out {
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                        width: 185px;
                        height: 185px;
                        border-radius: 50%;
                        border: 2px solid #cf0d0d;
                    }
                    .circle-int {
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                        width: 154px;
                        height: 154px;
                        border-radius: 50%;
                        border: 4px solid #cf0d0d;
                    }
                    img {
                        width: 100%;
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                    }
                }
                p {
                    font-size: 26px;
                    color: #888;
                    text-align: center;
                }
                .optionBox {
                    display: none;
                    position: relative;
                    margin: 25px auto 0;
                    width: 160px;
                    height: 20px;
                    border: 4px solid #cf0d0d;
                    border-top: none;
                }
                .optionBox::after {
                    display: none;
                    position: absolute;
                    top: 24px;
                    left: 50%;
                    transform: translateX(-50%);
                    content: "";
                    width: 0;
                    height: 0;
                    border: 20px solid transparent;
                    border-top-color: #cf0d0d;
                }
            }
            .rec-item:hover {
                cursor: pointer;
                .optionBox {
                    display: block;
                }
                .optionBox::after {
                    display: block;
                }
                img {
                    width: 80%;
                }
            }
        }
    }
    // 分类导航
    .classify {
        padding: 50px 0;
        width: 100%;
        height: 290px;
        .classify-row {
            background-color: #f3f3f3;
            width: 100%;
            height: 75px;
            margin-bottom: 30px;
            ul {
                height: 100%;
                display: flex;
                li {
                    text-align: center;
                    padding: 20px 0;
                    flex: auto;
                    font-size: 36px;
                    border: 1px solid transparent;
                    border-bottom-color: #888;
                }
                li:hover {
                    cursor: pointer;
                    color: #cf0d0d;
                    border: 1px solid #888;
                    border-bottom: none;
                }
                .classify-active {
                    cursor: pointer;
                    color: #cf0d0d;
                    border: 1px solid #888;
                    border-bottom: none;
                }
            }
        }
    }
    // 画家展示 items
    .artistItems {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        width: 100%;
        height: 500px;
        .artist-item {
            width: 385px;
            background-color: #fff;
            border: 1px solid #888;
            transition: all .5s;
            .item-info {
                position: relative;
                padding: 50px 20px 30px;
                p:first-child {
                    font-size: 24px;
                    margin-bottom: 25px;
                    color: #000;
                }
                p {
                    font-size: 14px;
                    color: #888;
                    margin-bottom: 10px;
                }
                .follow {
                    @include follow;
                    right: 40px;
                    top: 50px;
                }
            }
        }
        .artist-item:hover {
            cursor: pointer;
            transform: scale(1.05);
            @include boxShadow;
        }
    }
    // 向上加载图标加载
    @include icon-load-up;
}